package guda.screenshot.biz;

/**
 * Created by well on 2014/12/30.
 */
public class Response {

    /**
     * 是否成功
     */
    private boolean success;
    /**
     * 返回消息
     */
    private Object msg;
    /**
     * 其他对象
     */
    private Object o;

    public Response() {
        super();
    }
    public Response(boolean success, Object msg) {
        super();
        this.success = success;
        this.msg = msg;
    }

    public Response(boolean success) {
        super();
        this.success = success;
        this.msg = "操作成功";
    }
    public Response(boolean success, Object msg, Object o) {
        super();
        this.success = success;
        this.msg = msg;
        this.o = o;
    }
    public boolean isSuccess() {
        return success;
    }
    public void setSuccess(boolean success) {
        this.success = success;
    }
    public Object getMsg() {
        return msg;
    }
    public void setMsg(Object msg) {
        this.msg = msg;
    }
    public Object getO() {
        return o;
    }
    public void setO(Object o) {
        this.o = o;
    }
}
